package com.ztgf.upload.models.service;

import com.ztgf.upload.models.vo.FastDFSExceptionVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface UploadFileService {
    String uploadFileWithMultipart(MultipartFile file) throws FastDFSExceptionVO;

    void downloadFile(String filePath, HttpServletResponse response) throws FastDFSExceptionVO;
}
